package com.sun.service;

import com.sun.pojo.FileUpload;
import java.util.List;

public interface FileUploadService {

 int saveFile(FileUpload fileUpload);

 FileUpload findFileById(Integer id);

 void updateFileDownCounts(Integer id, int downCounts);

 List<FileUpload> findAll(int id);

 int deleteFileById(Integer id);
}
